package top.scauwlt.registry.nacos;

import lombok.extern.slf4j.Slf4j;
import top.scauwlt.registry.ServiceRegistry;
import top.scauwlt.registry.nacos.util.NacosUtil;

import java.net.InetSocketAddress;

/**
 * @Author wmm
 * @Date 2022/7/28 16:51
 */
@Slf4j
public class NacosServiceRegistryImpl implements ServiceRegistry {
    @Override
    public void registerService(String rpcServiceName, InetSocketAddress inetSocketAddress) {
        NacosUtil.registerService(rpcServiceName, inetSocketAddress);
    }
}
